<div class="page" data-page="capitalList" id="capitalList">
	<div class="announcement-title">
		<div class="announcement-title-tip">资金台账</div>
		<!--<a href="javascript:void(0);" class="createBlankInfo">新建账户</a>-->
	</div>
	<div class="table_type search_table">
		<div id="middle_set" class="middle_set">
			<span class="mr20">
				客户名称：<input class="title_search" type="text" name="enterpriseName">
			</span>
			<span class="mr20">
				融资单号：<input class="title_search" type="text" name="financeNumber">
			</span>
			<span class="mr20">
				起止时间：<input readonly="readonly" onfocus="WdatePicker({})" style="width: 130px;" class="title_search" type="text" name="startDate">-<input readonly="readonly" onfocus="WdatePicker({})" style="width: 130px;" class="title_search" type="text" name="endDate">
			</span>
			<span class="blue_search_btn">搜索</span>
			<a href="javascript:void(0);" class="export">导出</a>
		</div>
	</div>
	<div class="table_type" style="overflow-y: scroll;">
    	<table  border="1px" class="table md_tb" style="width: 4500px;">
		</table>
		<script id="capitalListTpl" type="text/template">
			<thead>
			<tr>
                <th rowspan="2">客户名称</th>
                <th rowspan="2">融资产品</th>
                <th rowspan="2">融资单号</th>
                <th rowspan="2">批复日期</th>
                <th rowspan="2">借款周期</th>
                <th colspan="3">融资放款</th>
                <th colspan="3">融资收款</th>
                <th colspan="3">融资计息</th>
                <th colspan="5">保证金</th>
                <th colspan="4">保险费用</th>
                <th colspan="2">其他应收</th>
                <th colspan="2">其他应付</th>
            </tr>
            <tr>
                <th>融资金额</th>
                <th>已放款总金额</th>
                <th>未放款总金额</th>
                <th>应收融资款总额</th>
                <th>已收融资款总额</th>
                <th>未收融资款总额</th>
                <th>应收利息总额</th>
                <th>已收利息总额</th>
                <th>待收利息总额</th>
                <th>应收保证金总额</th>
                <th>已收保证金总额</th>
                <th>追加保证金总额</th>
                <th>追加保证金已收</th>
                <th>已退保证金总额</th>
                <th>保险应收总额</th>
                <th>保险已收总额</th>
                <th>保险应付总额</th>
                <th>保险已付总额</th>
                <th>其他应收总额</th>
                <th>其他已收总额</th>
                <th>其他应付总额</th>
                <th>其他已付总额</th>
            </tr>
            </thead>
            <tbody>
  			{@each datas as it}
            <tr>
            	<th><a class="enterpriseDetail" enterpriseId="${it.enterpriseId}" href="javascript:void(0);">${it.enterpriseName}</a></th>
            	<td><a class="productDetail" productId="${it.productId}" href="javascript:void(0);">${it.productName}</a></td>
            	<td><a class="financeDetail" financeId="${it.financeId}" href="javascript:void(0);">${it.financeNumber}</a></td>
            	<td><a class="approveDetail" financeId="${it.financeId}" href="javascript:void(0);">${it.auditDateTime}</a></td>
            	<td>${it.minDays}天~${it.maxDays}天</td>
            	<td>&#65509;${it.financeAmount}</td>
            	<td><a class="totalLoanAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.totalLoanAmount}</a></td>
            	<td>&#65509;${it.totalWaitLoanAmount}</td>
            	<td>&#65509;${it.totalReceivedAmount*1 + it.totalWaitReceivedAmount}</td>
            	<td><a class="totalReceivedAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.totalReceivedAmount}</a></td>
            	<td>&#65509;${it.totalWaitReceivedAmount}</td>
            	<td><a class="phaseDetail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.interestAmount}</a></td>
            	<td><a class="phaseDetail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.interestReceiveAmount}</a></td>
            	<td><a class="phaseDetail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.interestWaitReceiveAmount}</a></td>
            	<td>&#65509;${it.receivableBail}</td>
            	<td><a class="receivedBail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivedBail}</a></td>
            	<td><a class="receivableAddBail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivableAddBail}</a></td>
            	<td><a class="receivedAddBail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivedAddBail}</a></td>
            	<td><a class="returnBail" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.returnBail}</a></td>
            	<td><a class="receivableInsureAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivableInsureAmount}</a></td>
            	<td><a class="receivedInsureAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivedInsureAmount}</a></td>
            	<td><a class="paymentableInsureAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.paymentableInsureAmount}</a></td>
            	<td><a class="paidInsureAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.paidInsureAmount}</a></td>
            	<td><a class="receivableOtherAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivableOtherAmount}</a></td>
            	<td><a class="receivedOtherAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.receivedOtherAmount}</a></td>
            	<td><a class="paymentableOtherAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.paymentableOtherAmount}</a></td>
            	<td><a class="paidOtherAmount" financeId="${it.financeId}" href="javascript:void(0);">&#65509;${it.paidOtherAmount}</a></td>
            </tr>
            {@/each}
            </tbody>
        </script>
		<div class="pagerCon"></div>
		<!-- 分页栏占位end -->
	</div>
</div>